package com.firexxx.vp.domain.stb;

import com.firexxx.common.event.Event;
import com.firexxx.vp.domain.vp.fuse.FuseVoicePrintEntity;
import lombok.Getter;

import java.util.List;
import java.util.Map;

/**
 * @description: TODO
 * @throws:
 * @author: zhuangzhang2
 * @date: 2019/12/25 11:31
 */
@Getter
public class StbRegisterFinishedEvent extends Event<Map<String, Object>> {

    private static final long serialVersionUID = -4145236792265679037L;
    private StbEntity stbEntity;
    private List<FuseVoicePrintEntity> newFuseVoicePrintList;

    public StbRegisterFinishedEvent(Map<String, Object> source) {
        super(source);

        stbEntity = (StbEntity) source.get("stbEntity");
        newFuseVoicePrintList = (List<FuseVoicePrintEntity>)source.get("newFuseVoicePrintList");
    }
}